package chat;

import java.io.*;
import java.net.*;
import java.util.ArrayList;

public class LobbyService {
	
	private static int port;
	
	public static void main(String[] args) throws Exception {
		   if(args.length==1)
	       {
			   port = Integer.parseInt(args[0]);
	       }
		   else{port = 8008;}
		   new ChatService(port);
        
	}

}